package com.dream.inspect.modules.business.task;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * 定时统计
 *
 * @author zhouyb
 */
@Component("timingStatisticsTask")
public class TimingStatisticsTask {
    private Logger logger = LoggerFactory.getLogger(getClass());

    /**
     * 问题统计
     */
    @Scheduled(cron = "0 0 1 * * ?")
    public void statisticsQuestion() {
        logger.info("--------------------问题统计开始-----------------------");

        logger.info("--------------------问题统计结束-----------------------");

    }
}
